<template>
	<!-- 分类· -->
	
	<view class="content">
		<scroll-view scroll-y class="left-aside">
	<view class="f-item b-b active">家庭保洁</view>
	<view class="f-item b-b ">家电清洗</view>
	<view class="f-item b-b ">深度保洁</view>
	<view class="f-item b-b ">放心搬家</view>
	<view class="f-item b-b ">做饭阿姨</view>
	<view class="f-item b-b ">钟点工</view>
	<view class="f-item b-b ">清洁保养</view>
	<view class="f-item b-b ">家电维修</view>
	<view class="f-item b-b ">洗衣洗鞋</view>
	
		</scroll-view>
		<scroll-view scroll-with-animation scroll-y class="right-aside"  >
			<view  class="s-list" >
				<view class="t-list">
					<view  class="t-item">
						<image src=""></image>
						<text class="s-item">家庭保洁</text>
					</view>		
					<view  class="t-item">
						<image src=""></image>
						<text class="s-item">家庭保洁</text>
					</view>	
						<view  class="t-item">
						<image src=""></image>
						<text class="s-item">家庭保洁</text>
					</view>	<view  class="t-item">
						<image src=""></image>
						<text class="s-item">家庭保洁</text>
					</view>
		
				</view>
			</view>
			<viem>
				<u-card :title="title" :sub-title="subTitle" :thumb="thumb">
						<view class="" slot="body">
							<text class="t-text">推荐</text>
							<view class="u-body-item u-flex u-border-bottom u-col-between u-p-t-0">
								<image src="" mode="aspectFill"></image>
								<viem>
									<view class="u-body-item-title u-line-1">xxx</view>
									<view class="u-body-item-title u-line-1">xxx</view>
									
									<text class="flex flex-direction">¥  78 元</text>
								</viem>
								
							</view>
						</view>
						<view class="" slot="foot">xxx</view>
					</u-card>
			</viem>
		</scroll-view>
	</view>
</template>

<script>
	export default{
		data(){
			return {
				
			}
		},
		onLoad(){
			
		},
		methods: {
			
		}
	}
</script>

<style>
	.content {
		height: 100%;
		background-color: #f8f8f8;
		/* margin-top: 100px; */
	}
	
	.content {
		display: flex;
	}
	.left-aside {
		flex-shrink: 0;
		width: 200upx;
		height: 100%;
		background-color: #fff;
		margin-top: 100px;
	}
	.f-item {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100upx;
		font-size: 28upx;
		color: $font-color-base;
		position: relative;
	}
		.right-aside{
			flex: 1;
			overflow: hidden;
			padding-left: 20upx;
			margin-top: 100px;
		}
		.s-item{
			display: flex;
			align-items: center;
			height: 70upx;
			padding-top: 8upx;
			font-size: 28upx;
			color: $font-color-dark;
	}
		.t-list{
			display: flex;
			flex-wrap: wrap;
			width: 100%;
			background: #fff;
			padding-top: 12upx;	
	}
		.t-item{
			flex-shrink: 0;
			display: flex;
			justify-content: center;
			align-items: center;
			flex-direction: column;
			width: 176upx;
			height: 176upx;
			font-size: 26upx;
			color: #666;
			padding-bottom: 20upx;
		}
	.u-card-wrap { 
			background-color: $u-bg-color;
			padding: 1px;
		}
		.t-text{
			float: none;
			font-size: 40upx;
		}
		.u-body-item {
			font-size: 32rpx;
			color: #333;
			padding: 20rpx 10rpx;
		}
			
		.u-body-item image {
			width: 120rpx;
			flex: 0 0 120rpx;
			height: 120rpx;
			border-radius: 8rpx;
			margin-left: 12rpx;
		}
</style>